/*
 * @Description:
 * @Author: wsy
 * @Date: 2022-01-16 03:05:19
 * @LastEditTime: 2022-01-16 03:13:11
 * @LastEditors: wsy
 */
import Vue from 'vue';
import VueRouter from './router-mini';
import Home from '../views/Home.vue';
import About from '../views/About.vue';
Vue.use(VueRouter);

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home,
  },
  {
    path: '/about',
    name: 'About',
    component: About,
  },
];

const router = new VueRouter({
  routes,
});

export default router;
